﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SwenAssignment3.Classes
{
    public class Invoice
    {
        private string invoiceID;
        private string bookingID;
        private DateTime checkInDateTime;
        private DateTime checkOutDateTime;
        private int numberOfNights;
        private string paymentMode;
        private decimal additionalCost;
        private decimal totalCost;

        public Invoice()
        {

        }

        public Invoice(string invoiceID, string bookingID, DateTime checkInDateTime, DateTime checkOutDateTime, int numberOfNights, string paymentMode, decimal AdditionalCost, decimal totalCost)
        {
            this.invoiceID = invoiceID;
            this.bookingID = bookingID;
            this.checkInDateTime = checkInDateTime;
            this.checkOutDateTime = checkOutDateTime;
            this.numberOfNights = numberOfNights;
            this.paymentMode = paymentMode;
            this.additionalCost = AdditionalCost;
            this.totalCost = totalCost;
        }

        public string InvoiceID
        {
            get { return invoiceID; }
            set { invoiceID = value; }
        }

        public string BookingID
        {
            get { return bookingID; }
            set { bookingID = value; }
        }

        public DateTime CheckInDateTime
        {
            get { return checkInDateTime; }
            set { checkInDateTime = value; }
        }
        public DateTime CheckOutDateTime
        {
            get { return checkOutDateTime; }
            set { checkOutDateTime = value; }
        }

        public int NumberOfNights
        {
            get { return numberOfNights; }
            set { numberOfNights = value; }
        }

        public string PaymentMode
        {
            get { return paymentMode; }
            set { paymentMode = value; }
        }

        public decimal AdditionalCost
        {
            get { return additionalCost; }
            set { additionalCost = value; }
        }

        public decimal TotalCost
        {
            get { return totalCost; }
            set { totalCost = value; }
        }
    }
}